package com.jianglin.service;

import com.github.pagehelper.PageInfo;
import com.jianglin.model.Parking;

import java.util.List;

public interface IParkingService  {

    PageInfo<Parking> findParkAll(int page, int pageSize, String numbers);

    PageInfo<Parking> findListByPage(int page, int pageSize);

    int add(Parking parking);

    int delete(Long id);

    int updateData(Parking parking);

    Parking findById(Long id);

    List<Parking> queryParkingAll();

    List<Parking> queryParkingByStatus();
}
